package net.j4love.websocket.spring.quickstart;

/**
 * @author he peng
 * @create 2018/1/9 14:30
 * @see
 */
public class ChatMessage {

    private String username;
    private String msg;
    private String sendTime;

    public String getUsername() {
        return username;
    }

    public ChatMessage setUsername(String username) {
        this.username = username;
        return this;
    }

    public String getMsg() {
        return msg;
    }

    public ChatMessage setMsg(String msg) {
        this.msg = msg;
        return this;
    }

    public String getSendTime() {
        return sendTime;
    }

    public ChatMessage setSendTime(String sendTime) {
        this.sendTime = sendTime;
        return this;
    }

    @Override
    public String toString() {
        return "UserChatMessage{" +
                "username='" + username + '\'' +
                ", msg='" + msg + '\'' +
                ", sendTime='" + sendTime + '\'' +
                '}';
    }
}
